/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.elcom.emocbc.dbmapping.entities;

/**
 *
 * @author GiangLT
 */
public class SmscbKpi {

    private String smscbCenterId;
    private String dayStr;
    private Float kpi;
    private Integer totalCells;
    private Integer successCells;

    public SmscbKpi() {
    }

    public String getSmscbCenterId() {
        return smscbCenterId;
    }

    public void setSmscbCenterId(String smscbCenterId) {
        this.smscbCenterId = smscbCenterId;
    }

    public String getDayStr() {
        return dayStr;
    }

    public void setDayStr(String dayStr) {
        this.dayStr = dayStr;
    }

    public Float getKpi() {
        return kpi;
    }

    public void setKpi(Float kpi) {
        this.kpi = kpi;
    }

    public Integer getTotalCells() {
        return totalCells;
    }

    public void setTotalCells(Integer totalCells) {
        this.totalCells = totalCells;
    }

    public Integer getSuccessCells() {
        return successCells;
    }

    public void setSuccessCells(Integer successCells) {
        this.successCells = successCells;
    }

    public static class Builder {

        public Builder() {
            this.item = new SmscbKpi();
        }
        private SmscbKpi item;

        public Builder withSmscbCenterId(final String smscbCenterId) {
            this.item.smscbCenterId = smscbCenterId;
            return this;
        }

        public Builder withDayStr(final String dayStr) {
            this.item.dayStr = dayStr;
            return this;
        }

        public Builder withKpi(final Float kpi) {
            this.item.kpi = kpi;
            return this;
        }

        public Builder withTotalCells(final Integer totalCells) {
            this.item.totalCells = totalCells;
            return this;
        }

        public Builder withSuccessCells(final Integer successCells) {
            this.item.successCells = successCells;
            return this;
        }

        public SmscbKpi build() {
            return this.item;
        }
    }
}
